package com.mk.web.dto;

import java.util.ArrayList;
import java.util.List;

/**
 * 分页信息
 * Created by WangChen on 2018/11/27 10:57.
 */
public class PageInfo<E> {

    //每页显示个数
    private int pageSize = 2;
    //当前第几页
    private int pageNumber = 1;
    //总页数
    private long total = 0;
    //当前页显示的数据
    private List<E> list;

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<E> getList() {
        return list;
    }

    public void setList(List<E> list) {
        this.list = list;
    }
}
